-
Home
-
X-Currency – The Ultimate WooCommerce currency switcher for a smoother shopping experience
-
2.0.1 (latest)
-
Code
-
Classes
- CurrencyRepository
Total Complexity |
53 |
Dependencies |
3 |
Dependents |
20 |
Total lines |
321 |
Lines of code |
258 |
Logical lines of code |
127 |
Comment lines |
1 |
Methods |
21 |
Properties |
2 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_currencies() |
A |
45 |
13 |
43 |
query() |
S |
51 |
6 |
30 |
sort_currencies() |
S |
54 |
4 |
21 |
update() |
S |
51 |
3 |
26 |
create() |
S |
48 |
2 |
33 |
get_base_currency() |
S |
60 |
3 |
14 |
get_by_first() |
S |
61 |
3 |
12 |
prepare_currency() |
S |
61 |
2 |
13 |
get_by_id() |
S |
69 |
2 |
7 |
sort_ids() |
S |
74 |
2 |
4 |
delete_by_id() |
S |
69 |
2 |
6 |
update_status() |
S |
63 |
2 |
10 |
get() |
S |
80 |
1 |
3 |
get_all() |
S |
79 |
1 |
3 |
get_geo() |
S |
79 |
1 |
3 |
update_geo() |
S |
66 |
1 |
9 |
get_db_currencies() |
S |
80 |
1 |
3 |
get_base_currency_id() |
S |
75 |
1 |
4 |
update_base_currency() |
S |
66 |
1 |
8 |
normalize_rate() |
S |
78 |
1 |
3 |
update_sort_ids() |
S |
78 |
1 |
3 |